package com.itcv.spring.security.demo.model;

import java.util.Date;

public class SysFunc {
    /**
     * 主键
     */
    private Long id;

    /**
     * 功能名称
     */
    private String name;

    /**
     * 功能地址
     */
    private String url;

    /**
     * 父功能id
     */
    private String pid;

    /**
     * 顺序号
     */
    private Integer sort;

    /**
     * 新增时间，默认当前时间，不随数据改变而改变
     */
    private Date gmtCreate;

    /**
     * 修改时间，默认当前时间，随数据改变而改变
     */
    private Date gmtModified;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid == null ? null : pid.trim();
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}